#pragma once

#include <QObject>
#include <QString>
class Forward_Config
{
public:
    Forward_Config();
    static QString GetServerHost();
    static int GetServerPort();
    static int GetTimeoutSecond();
    static void SetServerHost(QString host);
    static void SetServerPort(int port);
    static void SetTimeoutSecond(int second);
    static void Release();
private:
    QString g_ServerHost;
    int     g_ServerPort;
    int     g_TimeoutSecond;
    
    static Forward_Config* instance;
    
    static void init();  //校验初始化
};

